<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta id="viewport" name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="">
    <meta name="format-detection" content="telephone=no">
    <meta name="csrf-token" content="{{ csrf_token() }}" />
    <title>商城-@yield('title','')</title>

    <link rel="stylesheet" type="text/css" href="{{mix('FENXIAO/css/index1.css')}}">


@yield('css')
</head>
@inject('CartService','App\Interfaces\CartService')

@section('aside-bar')


<div class="aside-bar">
    <a href="javascript:void(0)" class="js-ecInfo">
        <i class="if if-custom"></i>
    </a>
    {{--<a href="/cart" class="has-em js-go-cart">--}}
        {{--<i class="if if-cart"></i>--}}

        {{--<em id="hidden" @if($CartService->getCartNumber() == 0)style="display: none" @endif></em>--}}
    {{--</a>--}}
</div>
<div class="overlay-service">
    <div class="service-img">
        <img src="{{qrcode()}}"/>
    </div>
</div>


@show


@yield('content')


<script type="text/javascript" src="{{asset('FENXIAO/js/jquery.min.js')}}"></script>
<script type="text/javascript" src="{{asset('js/layer_mobile/layer.js')}}"></script>
<script type="text/javascript" src="{{asset('FENXIAO/js/common.js')}}"></script>
<script type="text/javascript" src="{{asset('FENXIAO/js/jquery.lazyload.min.js')}}"></script>
<script>
    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });


    $(document).ajaxError(function (event, xhr, settings, infoError) {
       /* alert(xhr.status + ':' +xhr.statusText);
        alert(settings+ ':' + info);
        alert(event.type);
        alert(settings.url);*/

        //for(var i in event){    //查找event、settings有哪些属性方法
        // document.wirte(i+<br>);
        // }
    });




</script>

@yield('js')
